<div class="dux-index-header">

    <div class="header-menu">
        <a href="{url('member/index/setting')}"><i class="am-icon-cog"></i></a>
        <a href="{url('member/notice/index')}"><i class="am-icon-bell-o"></i></a>
    </div>
    <div class="header-user am-cf">
        <div class="user-avatar">
            <img src="{$userInfo.avatar}" alt="">
        </div>
        <div class="user-info">
            <span class="username">{$userInfo.show_name}</span>
            <span class="level">{$userInfo.role_name}</span>
        </div>
    </div>
</div>

{$hookHtml}
<?php $i = 0; ?>
<div class="dux-box dux-index-menu">
    <ul class="am-avg-sm-4 dux-index-icon ">
        <!--loop{$menuList as $vo}-->
        <!--loop{$vo.menu as $sub}-->
        <?php $i++; ?>

        <li class="am-cf">
            <a href="{$sub.url}">
                <i class="list-icon am-icon-fw am-icon-{$sub.icon}"></i>
                <div class="name">{$sub.name}</div>
            </a>
        </li>

        <!--if{$i%8 == 0}-->
            </ul>
        </div>
        <div class="dux-box">
            <ul class="am-avg-sm-4 dux-index-icon dux-index-menu">
        <!--{/if}-->

        <!--{/loop}-->
        <!--{/loop}-->
    </ul>
</div>